<?php

      echo "<table border='1px'>";
     for($i=1;$i<=9;$i++)
     {
         echo "<tr>";
         for($j=1;$j<=$i;$j++)
         {
             echo "<td>";
             $p = $i*$j;
             echo "$i*$j = $p";
         }
         echo "</td>";
         echo "</tr>";
     }







